//
//  ButtonVCCell.m
//  太平洋电脑网
//
//  Created by dllo on 16/6/24.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ButtonVCCell.h"

@implementation ButtonVCCell
-(void)dealloc{
    [_lable release];
    [_picImage release];
    [super dealloc];
    
}
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.lable = [[UILabel alloc]init];
        [self.contentView addSubview:self.lable];
        [_lable release];
        self.picImage = [[UIImageView alloc]init];
        [self.contentView addSubview:self.picImage];
        [_picImage release];
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.picImage.frame = CGRectMake(15, 0, 60, 60);
    self.picImage.layer.cornerRadius = 30;
    self.picImage.layer.masksToBounds = YES;
    self.lable.frame = CGRectMake(0, 60, 90, 20);
    self.lable.textAlignment = 1;
}






















@end
